pub mod terrian;
pub use terrian::Terrain;

#[macro_use]
pub mod unit;
pub use unit::Unit;


mod floor {
    use crate::grid::*;
    use crate::logic::{Terrain, Unit};
    use im::*;
    use std::rc::*;

    pub struct Floor {
        pub size: Size,
        pub terrian_grid: Grid<&'static Terrain>,
        pub units: Vector<Rc<Unit>>,
        pub unit_grid: Grid<Weak<Unit>>,
    }
}
pub use floor::Floor;
